<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>MTCDElggPlugin: /home/nicola/public_html/elgg/mod/mtcd/views/default/widgets/recommender/recommender.php File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">MTCDElggPlugin
   &#160;<span id="projectnumber">0.1</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('recommender_8php.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">/home/nicola/public_html/elgg/mod/mtcd/views/default/widgets/recommender/recommender.php File Reference</div>  </div>
</div>
<div class="contents">

<p><a href="recommender_8php_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="recommender_8php.html#a8fe8ebd3454eacd18632944186932c3f">inizializza_file_arff</a> ($path, $testo)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="recommender_8php.html#a870e4302c08ac293ea948fbdf60d2108">scrivi_file_arff</a> ($path, $testo)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="recommender_8php.html#a71944f39060e57ebfaee8b270bd21c6c">scrivi_file_log</a> ($path, $testo)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="recommender_8php.html#ac7becbf8a77dbd75c3207136146ecc34">insert_clusters</a> ($clusters1, $clusters2, $object_type)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="recommender_8php.html#a597018c67ad84aee4098c59cfdd83177">get_clusters</a> (&amp;$cluster1, &amp;$cluster2, $path_file)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="recommender_8php.html#a6d50667c29ac7a040f568b9217127d2c">get_parsing_sinonimi</a> ($parola)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="recommender_8php.html#a9acc587254949b607da15bda54d8e2c4">get_filtered_entities</a> (&amp;$tabella_tag, &amp;$riga_tag)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="recommender_8php.html#a396b87842cb9ef6f3a81672372630f66">create_arff_file</a> ($tabella_tag, $riga_tag, $path_file)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="recommender_8php.html#ad8e588498271778944b50666d3397c25">get_pages_for_clustering</a> (&amp;$riga_tag_page)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="recommender_8php.html#af017742a97055349862e027a4faf3fb3">get_bookmark_for_clustering</a> (&amp;$riga_tag_book)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="recommender_8php.html#abb0942a9a41ce7e4d4ef9d126e3309b6">get_file_for_clustering</a> (&amp;$riga_tag_file)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="recommender_8php.html#aebf23d4d854642c625f9332952999f74">get_users_for_clustering</a> (&amp;$riga_tag_user)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="recommender_8php.html#a545ab3ed80b3fd0271c6b57d79d754d9">get_group_for_clustering</a> (&amp;$riga_tag_group)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="recommender_8php.html#abd5fa1133b5b993491f04586f91ae3dd">get_blog_for_clustering</a> (&amp;$riga_tag)</td></tr>
</table>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a396b87842cb9ef6f3a81672372630f66"></a><!-- doxytag: member="recommender.php::create_arff_file" ref="a396b87842cb9ef6f3a81672372630f66" args="($tabella_tag, $riga_tag, $path_file)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">create_arff_file </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>tabella_tag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>riga_tag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>path_file</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="recommender_8php_source.html#l00239">239</a> of file <a class="el" href="recommender_8php_source.html">recommender.php</a>.</p>

<p>References <a class="el" href="recommender_8php_source.html#l00003">inizializza_file_arff()</a>, and <a class="el" href="recommender_8php_source.html#l00011">scrivi_file_arff()</a>.</p>

</div>
</div>
<a class="anchor" id="abd5fa1133b5b993491f04586f91ae3dd"></a><!-- doxytag: member="recommender.php::get_blog_for_clustering" ref="abd5fa1133b5b993491f04586f91ae3dd" args="(&amp;$riga_tag)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">get_blog_for_clustering </td>
          <td>(</td>
          <td class="paramtype">&amp;$&#160;</td>
          <td class="paramname"><em>riga_tag</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="recommender_8php_source.html#l00829">829</a> of file <a class="el" href="recommender_8php_source.html">recommender.php</a>.</p>

</div>
</div>
<a class="anchor" id="af017742a97055349862e027a4faf3fb3"></a><!-- doxytag: member="recommender.php::get_bookmark_for_clustering" ref="af017742a97055349862e027a4faf3fb3" args="(&amp;$riga_tag_book)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">get_bookmark_for_clustering </td>
          <td>(</td>
          <td class="paramtype">&amp;$&#160;</td>
          <td class="paramname"><em>riga_tag_book</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="recommender_8php_source.html#l00478">478</a> of file <a class="el" href="recommender_8php_source.html">recommender.php</a>.</p>

</div>
</div>
<a class="anchor" id="a597018c67ad84aee4098c59cfdd83177"></a><!-- doxytag: member="recommender.php::get_clusters" ref="a597018c67ad84aee4098c59cfdd83177" args="(&amp;$cluster1, &amp;$cluster2, $path_file)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">get_clusters </td>
          <td>(</td>
          <td class="paramtype">&amp;$&#160;</td>
          <td class="paramname"><em>cluster1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&amp;$&#160;</td>
          <td class="paramname"><em>cluster2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>path_file</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="recommender_8php_source.html#l00058">58</a> of file <a class="el" href="recommender_8php_source.html">recommender.php</a>.</p>

<p>References <a class="el" href="settings_8php_source.html#l00005">$plugin</a>, and <a class="el" href="settings_8php_source.html#l00006">$settings</a>.</p>

</div>
</div>
<a class="anchor" id="abb0942a9a41ce7e4d4ef9d126e3309b6"></a><!-- doxytag: member="recommender.php::get_file_for_clustering" ref="abb0942a9a41ce7e4d4ef9d126e3309b6" args="(&amp;$riga_tag_file)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">get_file_for_clustering </td>
          <td>(</td>
          <td class="paramtype">&amp;$&#160;</td>
          <td class="paramname"><em>riga_tag_file</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="recommender_8php_source.html#l00564">564</a> of file <a class="el" href="recommender_8php_source.html">recommender.php</a>.</p>

</div>
</div>
<a class="anchor" id="a9acc587254949b607da15bda54d8e2c4"></a><!-- doxytag: member="recommender.php::get_filtered_entities" ref="a9acc587254949b607da15bda54d8e2c4" args="(&amp;$tabella_tag, &amp;$riga_tag)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">get_filtered_entities </td>
          <td>(</td>
          <td class="paramtype">&amp;$&#160;</td>
          <td class="paramname"><em>tabella_tag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&amp;$&#160;</td>
          <td class="paramname"><em>riga_tag</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="recommender_8php_source.html#l00164">164</a> of file <a class="el" href="recommender_8php_source.html">recommender.php</a>.</p>

<p>References <a class="el" href="recommender_8php_source.html#l00113">get_parsing_sinonimi()</a>.</p>

</div>
</div>
<a class="anchor" id="a545ab3ed80b3fd0271c6b57d79d754d9"></a><!-- doxytag: member="recommender.php::get_group_for_clustering" ref="a545ab3ed80b3fd0271c6b57d79d754d9" args="(&amp;$riga_tag_group)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">get_group_for_clustering </td>
          <td>(</td>
          <td class="paramtype">&amp;$&#160;</td>
          <td class="paramname"><em>riga_tag_group</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="recommender_8php_source.html#l00740">740</a> of file <a class="el" href="recommender_8php_source.html">recommender.php</a>.</p>

</div>
</div>
<a class="anchor" id="ad8e588498271778944b50666d3397c25"></a><!-- doxytag: member="recommender.php::get_pages_for_clustering" ref="ad8e588498271778944b50666d3397c25" args="(&amp;$riga_tag_page)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">get_pages_for_clustering </td>
          <td>(</td>
          <td class="paramtype">&amp;$&#160;</td>
          <td class="paramname"><em>riga_tag_page</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="recommender_8php_source.html#l00290">290</a> of file <a class="el" href="recommender_8php_source.html">recommender.php</a>.</p>

</div>
</div>
<a class="anchor" id="a6d50667c29ac7a040f568b9217127d2c"></a><!-- doxytag: member="recommender.php::get_parsing_sinonimi" ref="a6d50667c29ac7a040f568b9217127d2c" args="($parola)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">get_parsing_sinonimi </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>parola</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="recommender_8php_source.html#l00113">113</a> of file <a class="el" href="recommender_8php_source.html">recommender.php</a>.</p>

<p>References <a class="el" href="settings_8php_source.html#l00005">$plugin</a>.</p>

<p>Referenced by <a class="el" href="recommender_8php_source.html#l00164">get_filtered_entities()</a>.</p>

</div>
</div>
<a class="anchor" id="aebf23d4d854642c625f9332952999f74"></a><!-- doxytag: member="recommender.php::get_users_for_clustering" ref="aebf23d4d854642c625f9332952999f74" args="(&amp;$riga_tag_user)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">get_users_for_clustering </td>
          <td>(</td>
          <td class="paramtype">&amp;$&#160;</td>
          <td class="paramname"><em>riga_tag_user</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="recommender_8php_source.html#l00648">648</a> of file <a class="el" href="recommender_8php_source.html">recommender.php</a>.</p>

</div>
</div>
<a class="anchor" id="a8fe8ebd3454eacd18632944186932c3f"></a><!-- doxytag: member="recommender.php::inizializza_file_arff" ref="a8fe8ebd3454eacd18632944186932c3f" args="($path, $testo)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">inizializza_file_arff </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>testo</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="recommender_8php_source.html#l00003">3</a> of file <a class="el" href="recommender_8php_source.html">recommender.php</a>.</p>

<p>Referenced by <a class="el" href="recommender_8php_source.html#l00239">create_arff_file()</a>.</p>

</div>
</div>
<a class="anchor" id="ac7becbf8a77dbd75c3207136146ecc34"></a><!-- doxytag: member="recommender.php::insert_clusters" ref="ac7becbf8a77dbd75c3207136146ecc34" args="($clusters1, $clusters2, $object_type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">insert_clusters </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>clusters1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>clusters2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>object_type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="recommender_8php_source.html#l00030">30</a> of file <a class="el" href="recommender_8php_source.html">recommender.php</a>.</p>

</div>
</div>
<a class="anchor" id="a870e4302c08ac293ea948fbdf60d2108"></a><!-- doxytag: member="recommender.php::scrivi_file_arff" ref="a870e4302c08ac293ea948fbdf60d2108" args="($path, $testo)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">scrivi_file_arff </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>testo</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="recommender_8php_source.html#l00011">11</a> of file <a class="el" href="recommender_8php_source.html">recommender.php</a>.</p>

<p>Referenced by <a class="el" href="recommender_8php_source.html#l00239">create_arff_file()</a>.</p>

</div>
</div>
<a class="anchor" id="a71944f39060e57ebfaee8b270bd21c6c"></a><!-- doxytag: member="recommender.php::scrivi_file_log" ref="a71944f39060e57ebfaee8b270bd21c6c" args="($path, $testo)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">scrivi_file_log </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>testo</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="recommender_8php_source.html#l00019">19</a> of file <a class="el" href="recommender_8php_source.html">recommender.php</a>.</p>

</div>
</div>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="recommender_8php.html">recommender.php</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">Generated on Mon Feb 13 2012 14:42:25 for MTCDElggPlugin by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5 </li>
   </ul>
 </div>


</body>
</html>
